//
//  MyCollectionViewCell.m
//  QYer
//
//  Created by lanou on 16/8/8.
//  Copyright © 2016年 CaiZhuYu. All rights reserved.
//

#import "MyCollectionViewCell.h"

@implementation MyCollectionViewCell

- (void)awakeFromNib {
    // Initialization code
}


- (void)setValueWithModel:(DestinationModel *)model
{
    self.countryLabel.text = model.cnname;
    self.englishLabel.text = model.enname;
    self.countLabel.text = [NSString stringWithFormat:@"%@", model.count];
    self.typeLabel.text = model.label;
    [self.imageV sd_setImageWithURL:[NSURL URLWithString:model.photo] placeholderImage:[UIImage imageNamed:@"1.jpg"]];
}


@end
